package com.edgardeng.hello;

import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

//@SpringBootApplication
 @SpringBootApplication(exclude={DataSourceAutoConfiguration.class, DynamicDataSourceAutoConfiguration.class})
@EnableGlobalMethodSecurity(prePostEnabled = true)
@MapperScan("com.lookdoor.jupiter.channel.mapper")
public class SpringBootOauth2CredentialsApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootOauth2CredentialsApplication.class, args);
    }
}
